package com.cj;

/**
 * @author cc
 * @date 2025-05-23 10:34
 **/

public class OracleDialect implements Dialect{
    @Override
    public boolean supportPage() {
        return false;
    }

    @Override
    public String getPagingSql(String sql, int offset, int limit) {

        sql = sql.trim();
        // 记录当前 select语句是否包含 "for update" 子句，该子句会对数据行加锁
        boolean hasForUpdate = false;
        String forUpdatePart = "for update";


        // 将StringBuffer扩充到一个合理的值
        StringBuffer result = new StringBuffer(sql.length() + 100);

        if(offset > 0){

        }

        return null;
    }
}
